﻿using System;
using System.Windows.Navigation;

using Microsoft.Extensions.DependencyInjection;

namespace ManageSystemClient
{
    /// <summary>
    /// NavigationWindow.xaml 的交互逻辑
    /// </summary>
    public partial class NaviWindow : NavigationWindow
    {
        public NaviWindow(IServiceProvider provider)
        {
            InitializeComponent();
            Navigate(provider.GetRequiredService<MainPage>());
        }
    }
}
